package com.ruoyi.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 利润日清对象 day_income
 * 
 * @author ruoyi
 * @date 2024-06-14
 */
public class DayIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;



    private String foodName;
    /** 盘点ID */
    private Long id;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long fid;

    /** 本日开销 */
    @Excel(name = "本日开销")
    private Long purchaseIncome;

    /** 本日收入 */
    @Excel(name = "本日收入")
    private Long sellIncome;

    /** 盘点实际数量 */
    @Excel(name = "盘点实际数量")
    private Long actualIncome;

    /** 盘盈盘亏 */
    @Excel(name = "盘盈盘亏")
    private Long profit;

    /** 盘点备注信息 */
    @Excel(name = "盘点备注信息")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setFid(Long fid) 
    {
        this.fid = fid;
    }

    public Long getFid() 
    {
        return fid;
    }
    public void setPurchaseIncome(Long purchaseIncome) 
    {
        this.purchaseIncome = purchaseIncome;
    }

    public Long getPurchaseIncome() 
    {
        return purchaseIncome;
    }
    public void setSellIncome(Long sellIncome) 
    {
        this.sellIncome = sellIncome;
    }

    public Long getSellIncome() 
    {
        return sellIncome;
    }
    public void setActualIncome(Long actualIncome) 
    {
        this.actualIncome = actualIncome;
    }

    public Long getActualIncome() 
    {
        return actualIncome;
    }
    public void setProfit(Long profit) 
    {
        this.profit = profit;
    }

    public Long getProfit() 
    {
        return profit;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("fid", getFid())
            .append("purchaseIncome", getPurchaseIncome())
            .append("sellIncome", getSellIncome())
            .append("actualIncome", getActualIncome())
            .append("profit", getProfit())
            .append("remarks", getRemarks())
            .toString();
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }


}
